package mail;

import java.util.Random;

public class tt {
	
	public static void main(String args[]){
		String c ="静女其姝，俟我于城隅。爱而不见，搔首踟蹰。静女其娈，贻我彤管。彤管有炜，说怿女美。自牧归荑，洵美且异。匪女之为美，美人之贻。";
		for(int i=1;i<100;i++){
			double a=Math.random();
	        int a1=(int)((Math.random()+1)*15);
	        int b1=(int)((Math.random()+2)*15);
			
	        
			Random r = new Random();
			double d2 = r.nextDouble() * 5;
			System.out.println(a+"========"+d2);
			System.out.println(a1+"========"+b1);
			System.out.println(c.substring(a1, b1));
		}
	}

}
